Automattic\WooCommerce\Admin\API\Reports\Customers\DataStore B

Total Complexity 89
Dependencies 5
Dependents 6
Total lines 821
Lines of code 512
Logical lines of code 256
Comment lines 182
Methods 21
Properties 4

Methods 21

Method Rating Maintainability Complexity Lines of code
add_sql_query_params()
C
32 22 99
add_time_period_sql_params()
A
42 10 53
get_data()
A
41 5 61
update_registered_customer()
S
43 5 51
sync_order_customer()
S
54 6 19
get_existing_customer_id_from_order()
S
52 5 26
get_customer_order_data_and_format()
S
48 4 35
get_or_create_customer_from_order()
S
56 5 18
is_valid_customer()
S
61 4 11
get_order_count()
S
58 3 17
get_last_order()
S
58 2 16
get_oldest_orders()
S
57 2 16
sync_on_order_delete()
S
65 3 10
get_guest_id_by_email()
S
63 2 11
get_customer_id_by_user_id()
S
63 2 11
assign_report_columns()
S
53 1 23
delete_customer()
S
65 2 9
normalize_order_by()
S
72 2 6
delete_customer_by_user_id()
S
66 2 8
init()
S
74 1 4
initialize_queries()
S
66 1 8